﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Invoicing.sys
{
    public partial class UserAdd : System.Web.UI.Page
    {
        


        private List<ZY.Model.Tab_DeptInfo> _deptList;
        public List<ZY.Model.Tab_DeptInfo> DeptList
        {
            get { return _deptList; }
            set { _deptList = value; }
        }
        private List<ZY.Model.Tab_Poistion> _poistionList;
        public List<ZY.Model.Tab_Poistion> PoistionList
        {
            get { return _poistionList; }
            set { _poistionList = value; }
        }
        private List<ZY.Model.Tab_RoleInfo> _roleList;
        public List<ZY.Model.Tab_RoleInfo> RoleList
        {
            get { return _roleList; }
            set { _roleList = value; }
        }







        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DeptList = new ZY.BLL.Tab_DeptInfo().GetModelList("");
                PoistionList=new ZY.BLL.Tab_Poistion().GetModelList("");
                RoleList = new ZY.BLL.Tab_RoleInfo().GetModelList("");

            }



        }
    }
}